package com.gdkf.dormitory.service.impl;

import com.gdkf.dormitory.entity.Admin;
import com.gdkf.dormitory.mapper.AdminMapper;
import com.gdkf.dormitory.service.AdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lcy
 * @since 2022-09-09
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {
    @Autowired
    AdminMapper adminMapper;
    @Override
    public Admin selectAdminRole(Map<String,Object> map) {
        return adminMapper.queryAdminRole(map);
    }
}
